package org.jeecg.modules.satff.service;

import org.jeecg.modules.satff.entity.AttendanceClass;
import org.jeecg.modules.satff.entity.AttendanceWorkday;
import org.jeecg.modules.satff.entity.AttendanceGroup;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 考勤组
 * @Author: nbacheng
 * @Date:   2024-12-14
 * @Version: V1.0
 */
public interface IAttendanceGroupService extends IService<AttendanceGroup> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(AttendanceGroup attendanceGroup,List<AttendanceClass> attendanceClassList,List<AttendanceWorkday> attendanceWorkdayList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(AttendanceGroup attendanceGroup,List<AttendanceClass> attendanceClassList,List<AttendanceWorkday> attendanceWorkdayList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
